﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KPIS.GERP.GFMS.MODEL;
using KPIS.GERP.GFMS.IBLL;
using KPIS.GERP.GFMS.IDAL;
using KPIS.GERP.GFMS.DALFactory;

namespace KPIS.GERP.GFMS.BLL
{
    public class B_FIM_SystemControls : IBLL_FIM_SystemControls
    {
        Common common = new Common();
        private static readonly IDAL_FIM_SystemControls dal = DataAccess.Create_FIM_SystemControls();

        public B_FIM_SystemControls()
        {

        }

        public M_FIM_SystemControls GetInfo()
        {
            return dal.GetInfo();
        }

        public void Update(M_FIM_SystemControls info)
        {
            try
            {
                dal.Update(info);
            }
            catch
            {
                throw;
            }
        }
    }
}
